package com.framewiki.gpt.service;

import com.framewiki.gpt.dto.request.CreateChatCompletionDto;
import com.framewiki.gpt.dto.response.ChatCompletionResponseDto;

/**
 * @ProjectName: framewiki-gpt
 * @Package: com.framewiki.gpt.service
 * @ClassName: ChatService
 * @Description: java类作用描述
 * @Author: xiaLin
 * @Date: 2023/6/16 22:58
 * @Version: 1.0
 */
public interface ChatService {

  /**
   * 权限值
   */
  String AUTHORIZATION = "Authorization";

  /**
   * 承载
   */
  String BEARER = "Bearer ";

  /**
   * 默认模型
   */
  String model = "gpt-3.5-turbo-0301";

  /**
   * 角色
   */
  String role = "user";

  /**
   * 创建对话
   *
   * @param content 消息内容
   */
  ChatCompletionResponseDto createChatCompletion(CreateChatCompletionDto content);
}
